package com.rmfyzxfw.caseprocess.model.converter;

import com.rmfyzxfw.caseprocess.model.cmd.DataNodeAbilityCmd;
import com.rmfyzxfw.caseprocess.model.cmd.DataNodeAbilityEditCmd;
import com.rmfyzxfw.caseprocess.model.cmd.DataNodeAbilityManageCmd;
import com.rmfyzxfw.caseprocess.model.po.DataNodeAbility;
import com.rmfyzxfw.caseprocess.model.vo.DataNodeAbilityListVO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @description:
 * @Author: GYW  742926306@qq.com
 * @Date: 2024/9/10 10:49
 */
@Mapper(componentModel = "spring")
public interface DataNodeAbilityConverter {
    DataNodeAbility cmd2do(DataNodeAbilityCmd cmd);

    DataNodeAbility cmd2do(DataNodeAbilityEditCmd cmd);

    DataNodeAbility cmd2do(DataNodeAbilityManageCmd cmd);

    List<DataNodeAbilityListVO> dos2vos(List<DataNodeAbility> dataNodeAbilities);
}
